package com.dts.aspect;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class AdvAnnAspect {
    @Before("@annotation(com.dts.ann.AdvAnn)")
    public void before(JoinPoint point){
        System.out.println("before advice");
    }
}
